package com.xc.service;

import com.xc.vo.CouponRecordVO;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * @author xingchen
 * @create 2021/11/4 16:23
 */
public interface CouponRecordService {

    /**
     * 分页查询领券记录
     *
     * @param page
     * @param size
     * @return
     */
    Map<String, Object> page(int page, int size);

    /**
     * 根据id查找详情
     *
     * @param recordId
     * @return
     */
    CouponRecordVO findById(long recordId);
}
